using System;
using System.Collections.Generic;
using System.Text;

namespace DataSchema
{
    public enum Objects{Collection, Entity, Shot, Item, IncomingFolder};

    public class DuplicatedObjectException:Exception
    {
        public Objects DuplicatedObject;
        private string _reason;
        public string Reason
        {
            get { return _reason; }
        }
	
        public DuplicatedObjectException(string i, Objects ob):base(i)
        {
            _reason = i;
            DuplicatedObject = ob;
        }
    }
}
